package com.hejjon.domain.bo;

import com.hejjon.core.bean.TableField;
import com.hejjon.domain.pojo.FilterCondition;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class RunQuerySqlBO extends RunSqlBO {


    public RunQuerySqlBO(RunSqlBO runSqlBO) {
        this.setDatabaseName(runSqlBO.getDatabaseName());
        this.setConnection(runSqlBO.getConnection());
    }

    /**
     * 查询条件
     */
    private List<FilterCondition> conditionList;

    /**
     * 查询字段列表
     */
    private List<TableField> queryFieldList;

    /**
     * 排序字段
     */
    private List<TableField> sortFieldList;


}
